home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Games
/
PC-SIG World of Games (CDRM1080710) (1993).iso
/
SWMAG
/
DISK1382.ZIP
/
B_001200.ZIP
/
B_CRYPT.ZIP
/
DOC.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-08-01
|
1KB
|
44 lines
echo off
rem DOC.BAT - Batch for for the printing of b_CRYPT.DOC file.
cls
echo
echo DOC.BAT (tm) b_CRYPT (tm) Documentation Printing Batch File.
echo
echo (C) Copr 1988-89, Stephen B. Hajducek. All rights reserved.
echo
echo
echo Check your printer attached to [%1] at this point before continuing,
echo
echo if nothing appears between the brackets [ ] above, press control break
echo
echo and enter printer device as prn or lpt1: or com1: etc on command line.
echo
pause
cls
echo Now printing files...
if %1==prn goto start
if %1==lpt1: goto start
if %1==lpt2: goto start
if %1==lpt3: goto start
if %1==com1: goto start
if %1==com2: goto start
if %1==com3: goto start
goto error
:start
type b_crypt.doc>%1
echo > %1:
cls
echo
echo All files have been sent to printer...
goto end
:error
echo ERROR: Incorrect command line parameters.
echo
echo At command line enter device for printing files in lower case:
echo
echo Example - compdoc prn: 'For default LPT1 printer.
echo compdoc lpt2: 'For LPT2 parallel printer.
echo compdoc com1: 'For COM1 attached serial printer.
:end
echo on